#include "Head.h"

#if 0
using namespace std;


void ufw_allow_port(int port)
{
	std::stringstream ss;
	ss << "sudo ufw allow " << port ;
	std::string str = ss.str();
	system(str.c_str());

}

void ufw_forbit_port(int port)
{
	std::stringstream ss;
	ss << "sudo ufw delete allow " << port;
	std::string str = ss.str();
	system(str.c_str());
}

int main()
{

	ufw_allow_port(111);
	ufw_allow_port(101);
	ufw_forbit_port(101);
	getchar();

}
#endif // 1
